package com.ruanjian.eduservice.entity.suject;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

//一级分类
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class OneSubject {
    private String id;

    private String title;


    private List<TwoSubject> children =new ArrayList<>();


}
